﻿using log4net;
using Nb.Common.Themes;
using Ninject.Modules;
using Ninject.Web.Common;

namespace Nb.Common.Logs
{
    public class LogsModule : NinjectModule
    {
        public override void Load()
        {
            Kernel.Bind<ILoggerProvider>().To<Log4NetProvider>().InSingletonScope();
            //Kernel.Bind<ILogger>().To<Log4NetAdapter>();
            //Kernel.Bind<ILog>().ToMethod();
        }
    }
}
